function translate(p_container)
{
    var html = p_container.innerHTML;
    var placeHolders = html.match(/(@@[a-z_0-9]*)/g);
    for (var i = 0; i < placeHolders.length; i++)
    {
        var name = placeHolders[i].substr(2);
        html = html.replace(placeHolders[i], chrome.i18n.getMessage(name));
    }
    p_container.innerHTML = html;
}